linux.git
11 months agohamradio: Disable auto-loading as mitigation against local exploits
Ben Hutchings [Sun, 4 Aug 2019 23:29:11 +0000 (00:29 +0100)]
hamradio: Disable auto-loading as mitigation against local exploits

Forwarded: not-needed

We can mitigate the effect of vulnerabilities in obscure protocols by
preventing unprivileged users from loading the modules, so that they
are only exploitable on systems where the administrator has chosen to
load the protocol.

The 'ham' radio protocols (ax25, netrom, rose) are not actively
maintained or widely used.  Therefore disable auto-loading.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name hamradio-disable-auto-loading-as-mitigation-against-local-exploits.patch

11 months agodccp: Disable auto-loading as mitigation against local exploits
Ben Hutchings [Thu, 16 Feb 2017 19:09:17 +0000 (19:09 +0000)]
dccp: Disable auto-loading as mitigation against local exploits

Forwarded: not-needed

We can mitigate the effect of vulnerabilities in obscure protocols by
preventing unprivileged users from loading the modules, so that they
are only exploitable on systems where the administrator has chosen to
load the protocol.

The 'dccp' protocol is not actively maintained or widely used.
Therefore disable auto-loading.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name dccp-disable-auto-loading-as-mitigation-against-local-exploits.patch

11 months ago[PATCH 1/3] rds: Disable auto-loading as mitigation against local exploits
Ben Hutchings [Fri, 19 Nov 2010 02:12:48 +0000 (02:12 +0000)]
[PATCH 1/3] rds: Disable auto-loading as mitigation against local exploits

Forwarded: not-needed

Recent review has revealed several bugs in obscure protocol
implementations that can be exploited by local users for denial of
service or privilege escalation.  We can mitigate the effect of any
remaining vulnerabilities in such protocols by preventing unprivileged
users from loading the modules, so that they are only exploitable on
systems where the administrator has chosen to load the protocol.

The 'rds' protocol is one such protocol that has been found to be
vulnerable, and which was not present in the 'lenny' kernel.
Therefore disable auto-loading.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name rds-Disable-auto-loading-as-mitigation-against-local.patch

11 months ago[PATCH 2/3] af_802154: Disable auto-loading as mitigation against local exploits
Ben Hutchings [Fri, 19 Nov 2010 02:12:48 +0000 (02:12 +0000)]
[PATCH 2/3] af_802154: Disable auto-loading as mitigation against local exploits

Forwarded: not-needed

Recent review has revealed several bugs in obscure protocol
implementations that can be exploited by local users for denial of
service or privilege escalation.  We can mitigate the effect of any
remaining vulnerabilities in such protocols by preventing unprivileged
users from loading the modules, so that they are only exploitable on
systems where the administrator has chosen to load the protocol.

The 'af_802154' (IEEE 802.15.4) protocol is not widely used, was
not present in the 'lenny' kernel, and seems to receive only sporadic
maintenance.  Therefore disable auto-loading.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic debian
Gbp-Pq: Name af_802154-Disable-auto-loading-as-mitigation-against.patch

11 months agoradeon, amdgpu: Firmware is required for DRM and KMS on R600 onward
Ben Hutchings [Tue, 8 Jan 2013 03:25:52 +0000 (03:25 +0000)]
radeon, amdgpu: Firmware is required for DRM and KMS on R600 onward

Bug-Debian: https://bugs.debian.org/607194
Bug-Debian: https://bugs.debian.org/607471
Bug-Debian: https://bugs.debian.org/610851
Bug-Debian: https://bugs.debian.org/627497
Bug-Debian: https://bugs.debian.org/632212
Bug-Debian: https://bugs.debian.org/637943
Bug-Debian: https://bugs.debian.org/649448
Bug-Debian: https://bugs.debian.org/697229
Bug-Debian: https://bugs.debian.org/1053764
Forwarded: no
Last-Update: 2023-11-08

radeon requires firmware/microcode for the GPU in all chips, but for
newer chips (apparently R600 'Evergreen' onward) it also expects
firmware for the memory controller and other sub-blocks.

radeon attempts to gracefully fall back and disable some features if
the firmware is not available, but becomes unstable - the framebuffer
and/or system memory may be corrupted, or the display may stay black.

Therefore, perform a basic check for the existence of
/lib/firmware/radeon when a device is probed, and abort if it
is missing, except for the pre-R600 case.

Update 2023-11-08:
In bug 1053764 Mario Limonciello <mario.limonciello@amd.com> states
that the patch isn't needed anymore for amdgpu, so remove that part
of the patch

Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name radeon-amdgpu-firmware-is-required-for-drm-and-kms-on-r600-onward.patch

11 months agofirmware_loader: Log direct loading failures as info for d-i
Ben Hutchings [Thu, 30 May 2024 12:14:32 +0000 (13:14 +0100)]
firmware_loader: Log direct loading failures as info for d-i

Forwarded: not-needed

On an installed Debian system, firmware packages will normally be
installed automatically based on a mapping of device IDs to firmware.
Within the Debian installer this has not yet happened and we need a
way to detect missing firmware.

Although many/most drivers log firmware loading failures, they do so
using many different formats.  This adds a single log message to the
firmware loader, which the installer's hw-detect package will look
for.  The log level is set to "info" because some failures are
expected and we do not want to confuse users with bogus error messages
(like in bug #966218).

NOTE: The log message format must not be changed without coordinating
this with the check-missing-firmware.sh in hw-detect.

Gbp-Pq: Topic debian
Gbp-Pq: Name firmware_loader-log-direct-loading-failures-as-info-for-d-i.patch

11 months agoiwlwifi: Do not request unreleased firmware for IWL6000
Ben Hutchings [Sun, 16 Mar 2025 21:08:59 +0000 (22:08 +0100)]
iwlwifi: Do not request unreleased firmware for IWL6000

Bug-Debian: https://bugs.debian.org/689416
Forwarded: not-needed

The iwlwifi driver currently supports firmware API versions 4-6 for
these devices.  It will request the file for the latest supported
version and then fall back to earlier versions.  However, the latest
version that has actually been released is 4, so we expect the
requests for versions 6 and then 5 to fail.

The installer appears to report any failed request, and it is probably
not easy to detect that this particular failure is harmless.  So stop
requesting the unreleased firmware.

Gbp-Pq: Topic debian
Gbp-Pq: Name iwlwifi-do-not-request-unreleased-firmware.patch

11 months agoaf9005: Use request_firmware() to load register init script
Ben Hutchings [Mon, 24 Aug 2009 22:19:58 +0000 (23:19 +0100)]
af9005: Use request_firmware() to load register init script

Forwarded: no

Read the register init script from the Windows driver.  This is sick
but should avoid the potential copyright infringement in distributing
a version of the script which is directly derived from the driver.

Gbp-Pq: Topic features/all
Gbp-Pq: Name drivers-media-dvb-usb-af9005-request_firmware.patch

11 months agolinux-perf: Remove remaining source filenames from executable
Ben Hutchings [Mon, 29 May 2023 22:16:39 +0000 (00:16 +0200)]
linux-perf: Remove remaining source filenames from executable

When we build perf with -ffile-prefix-map, there are still 2
source directory names embedded in the executable:

1. The Documentation subdirectory, used as a fallback from the
   installed location.
2. The python subdirectory, used in the Python script test.

Remove (1) since it is an unnecessary fallback.  Change (2)
to the installed location.

Gbp-Pq: Topic debian
Gbp-Pq: Name linux-perf-remove-remaining-source-filenames-from-executable.patch

11 months agofixdep: Allow overriding HOSTCC and HOSTLD
Ben Hutchings [Sat, 13 May 2023 11:03:26 +0000 (13:03 +0200)]
fixdep: Allow overriding HOSTCC and HOSTLD

Forwarded: not-needed

objtool always uses HOSTCC, HOSTLD, and HOSTAR, so we need to override
these on the command line for cross-builds of linux-kbuild.  But it
also builds fixdep which still needs to be native in a cross-build.
Add support for REALHOSTCC and REALHOSTLD variables which, if set,
override HOSTCC and HOSTLD for fixdep only.

Gbp-Pq: Topic debian
Gbp-Pq: Name fixdep-allow-overriding-hostcc-and-hostld.patch

11 months agoRevert "tools build: Clean CFLAGS and LDFLAGS for fixdep"
Ben Hutchings [Mon, 16 Sep 2024 17:14:19 +0000 (19:14 +0200)]
Revert "tools build: Clean CFLAGS and LDFLAGS for fixdep"

This reverts commit 5725dd8fa888b4dcdff58241f9d3d3ac42a048e2.  That
was a workaround for the bug fixed by commit 6b3db6f9b970 "tools
build: Make fixdep a hostprog" and is no longer needed.

Signed-off-by: Ben Hutchings <benh@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name revert-tools-build-clean-cflags-and-ldflags-for-fixdep.patch

11 months agoMakefile: Make compiler version comparison optional
Ben Hutchings [Thu, 15 Sep 2022 00:14:03 +0000 (02:14 +0200)]
Makefile: Make compiler version comparison optional

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1019749

The top-level Makefile warns if the compiler version string changes at
all between the kernel build and an out-of-tree module build.

We expect that major compiler version changes could introduce ABI
changes, and override the CC variable in out-of-tree module builds to
ensure that the same major compiler version is used.  But minor
version changes should not make a difference, so this exact version
comparison produces false warnings.

Since custom kernel packages don't have that, don't remove the version
comparison.  Instead, skip it if $(DEBIAN_KERNEL_NO_CC_VERSION_CHECK)
is non-empty.

Gbp-Pq: Topic debian
Gbp-Pq: Name makefile-make-compiler-version-comparison-optional.patch

11 months agokbuild: Abort build if SUBDIRS used
Ben Hutchings [Mon, 26 Apr 2021 16:27:16 +0000 (18:27 +0200)]
kbuild: Abort build if SUBDIRS used

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/987575

DKMS and module-assistant both build OOT modules as root.  If they
build an old OOT module that still use SUBDIRS this causes Kbuild
to try building a full kernel, which obviously fails but not before
deleting files from the installed headers package.

To avoid such mishaps, detect this situation and abort the build.

The error message is based on that used in commit 0126be38d988
"kbuild: announce removal of SUBDIRS if used".

Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-abort-build-if-subdirs-used.patch

11 months agokbuild: Look for module.lds under arch directory too
Ben Hutchings [Thu, 10 Dec 2020 16:31:39 +0000 (17:31 +0100)]
kbuild: Look for module.lds under arch directory too

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/975571

The module.lds linker script is now built under the scripts directory,
where previously it was under arch/$(SRCARCH).

However, we package the scripts directory as linux-kbuild, which is
meant to be able to do support native and cross-builds.  That means it
shouldn't contain files for a specific target architecture without a
wrapper to select between them, and it doesn't appear that linker
scripts are powerful enough to implement such a wrapper.

Building module.lds in a different location would require relatively
large changes.  Moving it in the package build rules can work, but we
need to support custom kernel builds from the same source so we can't
assume it's moved.

Therefore, we move module.lds under the arch build directory in
rules.real and change Makefile.modfinal to look for it in both places.

Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-look-for-module.lds-under-arch-directory-too.patch

11 months ago[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation
Bastian Blank [Tue, 4 Aug 2020 09:44:37 +0000 (09:44 +0000)]
[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation

From cd02fc78859ef9aefd7c92406f9523622da0b472 Mon Sep 17 00:00:00 2001
Forwarded: not-needed

Gbp-Pq: Topic debian
Gbp-Pq: Name perf-traceevent-support-asciidoctor-for-documentatio.patch

11 months ago[PATCH 1/2] Documentation: Drop sphinx version check
Bastian Blank [Tue, 4 Aug 2020 09:44:19 +0000 (09:44 +0000)]
[PATCH 1/2] Documentation: Drop sphinx version check

From 252aa79fdbd4ac2da09d9b98f81bf11f5e3e1870 Mon Sep 17 00:00:00 2001
Forwarded: not-needed

Gbp-Pq: Topic debian
Gbp-Pq: Name documentation-drop-sphinx-version-check.patch

11 months agoandroid: Enable building ashmem and binder as modules
Ben Hutchings [Fri, 22 Jun 2018 16:27:00 +0000 (17:27 +0100)]
android: Enable building ashmem and binder as modules

Bug-Debian: https://bugs.debian.org/901492

We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.

- Add a MODULE_LICENSE declaration to ashmem
- Change the Makefiles to build each driver as an object with the
  "_linux" suffix (which is what Anbox expects)
- Change config symbol types to tristate

Update:
In upstream commit 721412ed3d titled "staging: remove ashmem" the ashmem
driver was removed entirely. Secondary commit message:
"The mainline replacement for ashmem is memfd, so remove the legacy
code from drivers/staging/"
Consequently, the ashmem part of this patch has been removed.

Gbp-Pq: Topic debian
Gbp-Pq: Name android-enable-building-ashmem-and-binder-as-modules.patch

11 months agoExport symbols needed by binder
Ben Hutchings [Mon, 5 Aug 2024 01:26:48 +0000 (03:26 +0200)]
Export symbols needed by binder

Bug-Debian: https://bugs.debian.org/901492

We want to enable use of the Android binder driver to support
Waydroid, but it should not be built-in as that would waste resources
and increase security attack surface on systems that don't need it.

Export the currently un-exported symbols it depends on.

Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch

11 months agowireless: Add Debian wireless-regdb certificates
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates

Forwarded: not-needed

This hex dump is generated using:

{
    for cert in debian/certs/wireless-regdb-*.pem; do
        openssl x509 -in $cert -outform der;
    done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex

Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch

11 months agotools: install perf python bindings
Adriaan Schmidt [Mon, 4 Apr 2022 11:38:33 +0000 (13:38 +0200)]
tools: install perf python bindings

Bug-Debian: http://bugs.debian.org/860957
Forwarded: not-needed

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install-python-bindings.patch

11 months agolinux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib
Ben Hutchings [Mon, 11 May 2015 02:51:07 +0000 (02:51 +0000)]
linux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-perf-read-vdso-in-libexec.patch

11 months ago[sh4] Fix uImage build
Nobuhiro Iwamatsu [Sun, 16 Mar 2025 21:08:59 +0000 (22:08 +0100)]
[sh4] Fix uImage build

Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed

[bwh: This was added without a description, but I think it is done
 only to avoid a build-dependency on u-boot-tools.]

Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch

11 months agoEnable R2 to R6 emulator by default
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Enable R2 to R6 emulator by default

Forwarded: not-needed

In upstream code, 'mipsr2emu' kernel option is needed
to enable R2 to R6 emulator.  Since we need r6 kernel
for our r2 port, let's always enable it.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-enable-r2-to-r6-emu-by-default.patch

11 months agoUse RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only

Forwarded: not-needed

There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.

To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.

https://web.archive.org/web/20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking

[bwh: Update for addition of EMULATED mode in 6.11]

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch

11 months agoDisable uImage generation for mips generic
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic

Forwarded: not-needed

MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.

[bwh: Updated for 5.17:
 - zload-y is no longer assigned here and appears to default to empty
 - Adjust context]

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch

11 months agokbuild: Make the toolchain variables easily overwritable
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable

Forwarded: not-needed

Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.

We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, KCFLAGS.

This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.

[bwh: Updated for 5.3: include .kernelvariables from current directory
 rather than using undefined $(obj).]

Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch

11 months agoMake mkcompile_h accept an alternate timestamp string
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string

Forwarded: not-needed

We want to include the Debian version in the utsname::version string
instead of a full timestamp string.  However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.

Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.

Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch

11 months agoInclude package version along with kernel release in stack traces
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces

Forwarded: not-needed

For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.

Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch

11 months agoDocumentation: Fix broken link to CIPSO draft
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft

Forwarded: not-needed

We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch

11 months agovideo: Remove nvidiafb and rivafb
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb

Bug-Debian: https://bugs.debian.org/383481
Forwarded: no

These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.

These drivers are also largely redundant with nouveau.  The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch

11 months agodvb-usb-af9005: mark as broken
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken

Forwarded: not-needed

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch

11 months agoRemove microcode patches for mgsuvd (not enabled in Debian configs)
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)

Forwarded: not-needed

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch

11 months agoTweak gitignore for Debian pkg-kernel using git
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git

Forwarded: not-needed

[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

11 months agolinux (6.12.19-1) unstable; urgency=medium
Salvatore Bonaccorso [Sun, 16 Mar 2025 21:08:59 +0000 (22:08 +0100)]
linux (6.12.19-1) unstable; urgency=medium

  * New upstream stable update:
    https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.18
    - RDMA/mlx5: Fix the recovery flow of the UMR QP
    - IB/mlx5: Set and get correct qp_num for a DCT QP
    - RDMA/mlx5: Fix a race for DMABUF MR which can lead to CQE with error
    - RDMA/mlx5: Fix a WARN during dereg_mr for DM type
    - RDMA/mana_ib: Allocate PAGE aligned doorbell index
    - RDMA/hns: Fix mbox timing out by adding retry mechanism
    - RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved
    - RDMA/bnxt_re: Refactor NQ allocation
    - RDMA/bnxt_re: Cache MSIx info to a local structure
    - RDMA/bnxt_re: Add sanity checks on rdev validity
    - RDMA/bnxt_re: Allocate dev_attr information dynamically
    - RDMA/bnxt_re: Fix the statistics for Gen P7 VF
    - landlock: Fix non-TCP sockets restriction
    - scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()
    - ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up
    - NFS: O_DIRECT writes must check and adjust the file length
    - NFS: Adjust delegated timestamps for O_DIRECT reads and writes
    - SUNRPC: Prevent looping due to rpc_signal_task() races
    - NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
    - SUNRPC: Handle -ETIMEDOUT return from tlshd
    - RDMA/mlx5: Fix implicit ODP hang on parent deregistration
    - RDMA/mlx5: Fix AH static rate parsing
    - scsi: core: Clear driver private data when retrying request
    - scsi: ufs: core: Set default runtime/system PM levels before
      ufshcd_hba_init()
    - RDMA/mlx5: Fix bind QP error cleanup flow
    - RDMA/bnxt_re: Fix the page details for the srq created by kernel consumers
    - sunrpc: suppress warnings for unused procfs functions
    - ALSA: usb-audio: Avoid dropping MIDI events at closing multiple ports
    - Bluetooth: L2CAP: Fix L2CAP_ECRED_CONN_RSP response
    - rxrpc: rxperf: Fix missing decoding of terminal magic cookie
    - afs: Fix the server_list to unuse a displaced server rather than putting
      it
    - afs: Give an afs_server object a ref on the afs_cell object it points to
    - net: loopback: Avoid sending IP packets without an Ethernet header
    - net: set the minimum for net_hotdata.netdev_budget_usecs
    - ipv4: Convert icmp_route_lookup() to dscp_t.
    - ipv4: Convert ip_route_input() to dscp_t.
    - ipvlan: Prepare ipvlan_process_v4_outbound() to future .flowi4_tos
      conversion.
    - ipvlan: ensure network headers are in skb linear part
    - net: cadence: macb: Synchronize stats calculations
    - net: dsa: rtl8366rb: Fix compilation problem
    - [armhf] ASoC: es8328: fix route from DAC to output
    - [arm64,armhf] ASoC: fsl: Rename stream name of SAI DAI driver
    - ipvs: Always clear ipvs_property flag in skb_scrub_packet()
    - drm/xe/oa: Signal output fences
    - drm/xe/oa: Move functions up so they can be reused for config ioctl
    - drm/xe/oa: Add syncs support to OA config ioctl
    - drm/xe/oa: Allow only certain property changes from config
    - drm/xe/oa: Allow oa_exponent value of 0
    - firmware: cs_dsp: Remove async regmap writes
    - [amd64] ASoC: cs35l56: Prevent races when soft-resetting using SPI control
    - ALSA: hda/realtek: Fix wrong mic setup for ASUS VivoBook 15
    - net: ethernet: ti: am65-cpsw: select PAGE_POOL
    - tcp: devmem: don't write truncated dmabuf CMSGs to userspace
    - ice: add E830 HW VF mailbox message limit support
    - ice: Fix deinitializing VF in error path
    - ice: Avoid setting default Rx VSI twice in switchdev setup
    - tcp: Defer ts_recent changes until req is owned
    - net: Clear old fragment checksum value in napi_reuse_skb
    - [arm64,armhf] net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow
      defination.
    - net/mlx5: IRQ, Fix null string in debug print
    - net: ipv6: fix dst ref loop on input in seg6 lwt
    - net: ipv6: fix dst ref loop on input in rpl lwt
    - idpf: fix checksums set in idpf_rx_rsc()
    - net: ti: icss-iep: Reject perout generation request
    - thermal: gov_power_allocator: Fix incorrect calculation in
      divvy_up_power()
    - perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list
    - uprobes: Reject the shared zeropage in uprobe_write_opcode()
    - thermal: of: Simplify thermal_of_should_bind with scoped for each OF child
    - thermal/of: Fix cdev lookup in thermal_of_should_bind()
    - thermal: core: Move lists of thermal instances to trip descriptors
    - thermal: gov_power_allocator: Update total_weight on bind and cdev updates
    - io_uring/net: save msg_control for compat
    - unreachable: Unify
    - objtool: Remove annotate_{,un}reachable()
    - objtool: Fix C jump table annotations for Clang
    - [x86] CPU: Fix warm boot hang regression on AMD SC1100 SoC systems
    - phy: rockchip: fix Kconfig dependency more
    - [riscv64] KVM: Fix hart suspend status check
    - [riscv64] KVM: Fix hart suspend_type use
    - [riscv64] KVM: Fix SBI IPI error generation
    - [riscv64] KVM: Fix SBI TIME error generation
    - tracing: Fix bad hist from corrupting named_triggers list
    - ftrace: Avoid potential division by zero in function_stat_show()
    - ALSA: usb-audio: Re-add sample rate quirk for Pioneer DJM-900NXS2
    - ALSA: hda/realtek: Fix microphone regression on ASUS N705UD
    - [arm64] KVM: arm64: Ensure a VMID is allocated before programming
      VTTBR_EL2
    - perf/core: Add RCU read lock protection to perf_iterate_ctx()
    - [x86] perf/x86: Fix low freqency setting issue
    - perf/core: Fix low freq setting via IOC_PERIOD
    - drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size)
    - drm/xe/userptr: restore invalidation list on error
    - drm/xe/userptr: fix EFAULT handling
    - drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd
    - drm/amdgpu: disable BAR resize on Dell G5 SE
    - drm/amdgpu: init return value in amdgpu_ttm_clear_buffer
    - drm/amd/display: Disable PSR-SU on eDP panels
    - drm/amd/display: add a quirk to enable eDP0 on DP1
    - drm/amd/display: Fix HPD after gpu reset
    - [arm64] mm: Fix Boot panic on Ampere Altra
    - block: Remove zone write plugs when handling native zone append writes
    - i2c: npcm: disable interrupt enable bit before devm_request_irq
    - i2c: ls2x: Fix frequency division register access
    - usbnet: gl620a: fix endpoint checking in genelink_bind()
    - net: phy: qcom: qca807x fix condition for DAC_DSP_BIAS_CURRENT
    - [arm64] net: enetc: fix the off-by-one issue in enetc_map_tx_buffs()
    - [arm64] net: enetc: keep track of correct Tx BD count in
      enetc_map_tx_tso_buffs()
    - [arm64] net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
    - [arm64] net: enetc: update UDP checksum when updating originTimestamp
      field
    - [arm64] net: enetc: correct the xdp_tx statistics
    - [arm64] net: enetc: fix the off-by-one issue in enetc_map_tx_tso_buffs()
    - [arm64,armhf] phy: exynos5-usbdrd: fix MPLL_MULTIPLIER and SSC_REFCLKSEL
      masks in refclk
    - [arm64,armhf] phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy
      in phy_exit()
    - [amd64] iommu/vt-d: Remove device comparison in
      context_setup_pass_through_cb
    - [amd64] iommu/vt-d: Fix suspicious RCU usage
    - [amd64] intel_idle: Handle older CPUs, which stop the TSC in deeper C
      states, correctly (Closes: #1088682)
    - mptcp: always handle address removal under msk socket lock
    - mptcp: reset when MPTCP opts are dropped after join
    - vmlinux.lds: Ensure that const vars with relocations are mapped R/O
    - rcuref: Plug slowpath race in rcuref_put()
    - sched/core: Prevent rescheduling when interrupts are disabled
    - sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called
      without balance()
    - dm-integrity: Avoid divide by zero in table status in Inline mode
    - dm vdo: add missing spin_lock_init
    - ima: Reset IMA_NONACTION_RULE_FLAGS after post_setattr
    - scsi: ufs: core: bsg: Fix crash when arpmb command fails
    - [riscv64] futex: sign extend compare value in atomic cmpxchg
    - [riscv64] signal: fix signal frame size
    - [riscv64] cacheinfo: Use of_property_present() for non-boolean properties
    - [riscv64] signal: fix signal_minsigstksz
    - [riscv64] cpufeature: use bitmap_equal() instead of memcmp()
    - efi: Don't map the entire mokvar table to determine its size
    - amdgpu/pm/legacy: fix suspend/resume issues
    - [x86] microcode/AMD: Return bool from find_blobs_in_containers()
    - [x86] microcode/AMD: Have __apply_microcode_amd() return bool
    - [x86] microcode/AMD: Remove ugly linebreak in __verify_patch_section()
      signature
    - [x86] microcode/AMD: Remove unused save_microcode_in_initrd_amd()
      declarations
    - [x86] microcode/AMD: Merge early_apply_microcode() into its single
      callsite
    - [x86] microcode/AMD: Get rid of the _load_microcode_amd() forward
      declaration
    - [x86] microcode/AMD: Add get_patch_level()
    - [x86] microcode/AMD: Load only SHA256-checksummed patches
    - thermal: gov_power_allocator: Add missing NULL pointer check
    https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.19
    - [x86] amd_nb: Use rdmsr_safe() in amd_get_mmconfig_range()
    - [amd64] drm/i915/dsi: convert to struct intel_display
    - [amd64] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro
    - [arm64,armhf] gpio: vf610: use generic device_get_match_data()
    - [arm64,armhf] gpio: vf610: add locking to gpio direction functions
    - cifs: Remove symlink member from cifs_open_info_data union
    - smb311: failure to open files of length 1040 when mounting with SMB3.1.1
      POSIX extensions
    - btrfs: fix data overwriting bug during buffered write when block size <
      page size
    - [x86] microcode/AMD: Add some forgotten models to the SHA check
    - Revert "of: reserved-memory: Fix using wrong number of cells to get
      property 'alignment'"
    - tracing: tprobe-events: Fix a memory leak when tprobe with $retval
    - tracing: tprobe-events: Reject invalid tracepoint name
    - [amd64] HID: appleir: Fix potential NULL dereference at raw event handle
    - ksmbd: fix type confusion via race condition when using
      ipc_msg_send_request
    - ksmbd: fix out-of-bounds in parse_sec_desc()
    - ksmbd: fix use-after-free in smb2_lock
    - ksmbd: fix bug on trap in smb2_lock
    - [arm64] gpio: rcar: Use raw_spinlock to protect register access
    - ALSA: seq: Avoid module auto-load handling at event delivery
    - ALSA: hda: intel: Add Dell ALC3271 to power_save denylist
    - ALSA: hda/realtek - add supported Mic Mute LED for Lenovo platform
    - ALSA: hda/realtek: update ALC222 depop optimize
    - btrfs: fix a leaked chunk map issue in read_one_chunk()
    - hwmon: (peci/dimmtemp) Do not provide fake thresholds data
    - drm/amd/display: Fix null check for pipe_ctx->plane_state in
      resource_build_scaling_params
    - drm/amdkfd: Fix NULL Pointer Dereference in KFD queue
    - drm/amd/pm: always allow ih interrupt from fw
    - drm/radeon: Fix rs400_gpu_init for ATI mobility radeon Xpress 200M
    - Revert "mm/page_alloc.c: don't show protection in zone's
      ->lowmem_reserve[] for empty zone"
    - Revert "selftests/mm: remove local __NR_* definitions"
    - [x86] platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e
    - [x86] boot: Sanitize boot params before parsing command line
    - [x86] cacheinfo: Validate CPUID leaf 0x2 EDX output
    - [x86] cpu: Validate CPUID leaf 0x2 EDX output
    - [x86] cpu: Properly parse CPUID leaf 0x2 TLB descriptor 0x63
    - drm/xe: Add staging tree for VM binds
    - drm/xe/hmm: Style- and include fixes
    - drm/xe/hmm: Don't dereference struct page pointers without notifier lock
    - drm/xe/vm: Fix a misplaced #endif
    - drm/xe/vm: Validate userptr during gpu vma prefetching
    - mptcp: fix 'scheduling while atomic' in mptcp_pm_nl_append_new_local_addr
    - drm/xe: Fix GT "for each engine" workarounds
    - drm/xe: Fix fault mode invalidation with unbind
    - drm/xe/userptr: properly setup pfn_flags_mask
    - drm/xe/userptr: Unmap userptrs in the mmu notifier
    - Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()
    - Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()
    - wifi: cfg80211: regulatory: improve invalid hints checking
    - wifi: nl80211: reject cooked mode if it is set along with other flags
    - rapidio: add check for rio_add_net() in rio_scan_alloc_net()
    - rapidio: fix an API misues when rio_add_net() fails
    - dma: kmsan: export kmsan_handle_dma() for modules
    - [s390x] traps: Fix test_monitor_call() inline assembly
    - NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback
    - userfaultfd: do not block on locking a large folio with raised refcount
    - block: fix conversion of GPT partition name to 7-bit
    - mm/page_alloc: fix uninitialized variable
    - mm: abort vma_modify() on merge out of memory failure
    - mm: memory-failure: update ttu flag inside unmap_poisoned_folio
    - mm: don't skip arch_sync_kernel_mappings() in error paths
    - mm: fix finish_fault() handling for large folios
    - hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio
    - mm: memory-hotplug: check folio ref count first in do_migrate_range
    - wifi: iwlwifi: mvm: clean up ROC on failure
    - wifi: iwlwifi: mvm: don't try to talk to a dead firmware
    - wifi: iwlwifi: limit printed string from FW file
    - wifi: iwlwifi: Free pages allocated when failing to build A-MSDU
    - wifi: iwlwifi: Fix A-MSDU TSO preparation
    - HID: google: fix unused variable warning under !CONFIG_ACPI
    - [amd64] HID: intel-ish-hid: Fix use-after-free issue in
      hid_ishtp_cl_remove()
    - [amd64] HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()
    - coredump: Only sort VMAs when core_sort_vma sysctl is set
    - nvme-pci: add support for sgl metadata
    - nvme-pci: use sgls for all user requests if possible
    - nvme-ioctl: fix leaked requests on mapping error
    - wifi: mac80211: Support parsing EPCS ML element
    - wifi: mac80211: fix MLE non-inheritance parsing
    - wifi: mac80211: fix vendor-specific inheritance
    - drm/fbdev-helper: Move color-mode lookup into 4CC format helper
    - drm/fbdev: Add memory-agnostic fbdev client
    - drm: Add client-agnostic setup helper
    - drm/fbdev-ttm: Support struct drm_driver.fbdev_probe
    - drm/nouveau: Run DRM default client setup
    - drm/nouveau: select FW caching
    - bluetooth: btusb: Initialize .owner field of force_poll_sync_fops
    - nvme-tcp: add basic support for the C2HTermReq PDU
    - nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
    - nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch
    - ALSA: hda/realtek: Remove (revert) duplicate Ally X config
    - net: gso: fix ownership in __udp_gso_segment
    - caif_virtio: fix wrong pointer check in cfv_probe()
    - perf/core: Fix pmus_lock vs. pmus_srcu ordering
    - hwmon: (pmbus) Initialise page count in pmbus_identify()
    - hwmon: (ntc_thermistor) Fix the ncpXXxh103 sensor table
    - hwmon: (ad7314) Validate leading zero bits and return error
    - tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro
    - drm/imagination: Fix timestamps in firmware traces
    - ALSA: usx2y: validate nrpacks module parameter on probe
    - llc: do not use skb_get() before dev_queue_xmit()
    - hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe()
    - drm/sched: Fix preprocessor guard
    - be2net: fix sleeping while atomic bugs in be_ndo_bridge_getlink
    - [arm64] net: hns3: make sure ptp clock is unregister and freed if
      hclge_ptp_get_cycle returns an error
    - [amd64] drm/i915/color: Extract intel_color_modeset()
    - [amd64] drm/i915: Plumb 'dsb' all way to the plane hooks
    - drm/xe: Remove double pageflip
    - HID: hid-steam: Fix use-after-free when detaching device
    - [arm64] net: ipa: Fix v4.7 resource group names
    - [arm64] net: ipa: Fix QSB data for v4.7
    - [arm64] net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} for
      v4.7
    - ppp: Fix KMSAN uninit-value warning with bpf
    - ethtool: linkstate: migrate linkstate functions to support multi-PHY
      setups
    - net: ethtool: plumb PHY stats to PHY drivers
    - net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device
    - vlan: enforce underlying device type
    - [x86] sgx: Fix size overflows in sgx_encl_create()
    - exfat: fix just enough dentries but allocate a new cluster to dir
    - exfat: fix soft lockup in exfat_clear_bitmap
    - exfat: short-circuit zero-byte writes in exfat_file_write_iter
    - net-timestamp: support TCP GSO case for a few missing flags
    - ublk: set_params: properly check if parameters can be applied
    - sched/fair: Fix potential memory corruption in child_cfs_rq_on_list
    - nvme-tcp: fix signedness bug in nvme_tcp_init_connection()
    - net: dsa: mt7530: Fix traffic flooding for MMIO devices
    - mctp i3c: handle NULL header address
    - net: ipv6: fix dst ref loop in ila lwtunnel
    - net: ipv6: fix missing dst ref drop in ila lwtunnel
    - [arm64] gpio: rcar: Fix missing of_node_put() call
    - Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection"
    - usb: renesas_usbhs: Call clk_put()
    - xhci: Restrict USB4 tunnel detection for USB3 devices to Intel hosts
    - usb: renesas_usbhs: Use devm_usb_get_phy()
    - usb: hub: lack of clearing xHC resources
    - usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card
      Reader
    - usb: typec: ucsi: Fix NULL pointer access
    - usb: renesas_usbhs: Flush the notify_hotplug_work
    - usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails
    - usb: atm: cxacru: fix a flaw in existing endpoint checks
    - usb: dwc3: Set SUSPENDENABLE soon after phy init
    - usb: dwc3: gadget: Prevent irq storm when TH re-executes
    - usb: typec: ucsi: increase timeout for PPM reset operations
    - usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality
    - usb: gadget: Set self-powered based on MaxPower and bmAttributes
    - usb: gadget: Fix setting self-powered state on suspend
    - usb: gadget: Check bmAttributes only if configuration is valid
    - acpi: typec: ucsi: Introduce a ->poll_cci method
    - xhci: pci: Fix indentation in the PCI device ID definitions
    - usb: xhci: Enable the TRB overfetch quirk on VIA VL805
    - [amd64] KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI
      shadow
    - [amd64] KVM: SVM: Save host DR masks on CPUs with DebugSwap
    - [amd64] KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value
    - [amd64] KVM: SVM: Suppress DEBUGCTL.BTF on AMD
    - [amd64] KVM: x86: Snapshot the host's DEBUGCTL in common x86
    - [amd64] KVM: SVM: Manually context switch DEBUGCTL if LBR virtualization
      is disabled
    - [amd64] KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs
    - [amd64] KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't
      supported by KVM
    - cdx: Fix possible UAF error in driver_override_show()
    - mei: me: add panther lake P DID
    - mei: vsc: Use "wakeuphostint" when getting the host wakeup GPIO
    - [amd64] intel_th: pci: Add Arrow Lake support
    - [amd64] intel_th: pci: Add Panther Lake-H support
    - [amd64] intel_th: pci: Add Panther Lake-P/U support
    - char: misc: deallocate static minor in error path
    - drivers: core: fix device leak in __fw_devlink_relax_cycles()
    - slimbus: messaging: Free transaction ID in delayed interrupt scenario
    - bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid
      deadlock
    - eeprom: digsy_mtc: Make GPIO lookup table match the device
    - drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
    - iio: filter: admv8818: Force initialization of SDO
    - iio: light: apds9306: fix max_scale_nano values
    - iio: dac: ad3552r: clear reset status flag
    - iio: adc: ad7192: fix channel select
    - iio: adc: at91-sama5d2_adc: fix sama7g5 realbits value
    - mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear()
    - [arm64] hugetlb: Fix huge_ptep_get_and_clear() for non-present ptes
    - fs/netfs/read_pgpriv2: skip folio queues without `marks3`
      (Closes: #1098698, #1099591)
    - fs/netfs/read_collect: fix crash due to uninitialized `prev` variable
      (Closes: #1098698, #1099591)
    - ALSA: hda: realtek: fix incorrect IS_REACHABLE() usage
    - nvme-tcp: Fix a C2HTermReq error message
    - Revert "KVM: e500: always restore irqs"
    - Revert "KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults"
    - Revert "KVM: PPC: e500: Mark "struct page" pfn accessed before dropping
      mmu_lock"
    - Revert "KVM: PPC: e500: Mark "struct page" dirty in
      kvmppc_e500_shadow_map()"
    - KVM: e500: always restore irqs
    - uprobes: Fix race in uprobe_free_utask
    - [x86] mm: Don't disable PCID when INVLPG has been fixed by microcode
    - wifi: iwlwifi: pcie: Fix TSO preparation

  [ Bastian Blank ]
  * Compress kernel with zstd where supported. (Closes: #1099722)

  [ Matt Mower ]
  * [amd64] sound/soc/amd/acp: Enable SND_AMD_ASOC_ACP70, SND_SOC_AMD_ACP_PCI
    and SND_SOC_AMD_LEGACY_MACH as modules (Closes: #1096006)

  [ Uwe Kleine-König ]
  * Enable IIO HRTIMER and SYSFS trigger. These are useful to do high-speed
    continuous and manual (or scripted) sensor reading respectively.

  [ Dmytro Sinina ]
  * sound/pci/hda: Enable SND_HDA_SCODEC_CS35L56_I2C,
    SND_HDA_SCODEC_CS35L56_SPI, SND_SOC_CS35L56_I2C, SND_SOC_CS35L56_SPI,
    SND_SOC_CS35L56_SDW as modules

  [ Steev Klimaszewski ]
  * [arm64] Enable modules for Thinkpad X13s webcam (Closes: #1100036)

  [ Salvatore Bonaccorso ]
  * drm/amdkfd: Fix user queue validation on Gfx7/8 (Closes: #1093124)
  * fs/netfs/read_collect: add to next->prev_donated
    (Closes: #1098698, #1099591)

[dgit import unpatched linux 6.12.19-1]

11 months agoImport linux_6.12.19.orig.tar.xz
Salvatore Bonaccorso [Sun, 16 Mar 2025 21:08:59 +0000 (22:08 +0100)]
Import linux_6.12.19.orig.tar.xz

[dgit import orig linux_6.12.19.orig.tar.xz]

11 months agoImport linux_6.12.19-1.debian.tar.xz
Salvatore Bonaccorso [Sun, 16 Mar 2025 21:08:59 +0000 (22:08 +0100)]
Import linux_6.12.19-1.debian.tar.xz

[dgit import tarball linux 6.12.19-1 linux_6.12.19-1.debian.tar.xz]